package com.c6906.vdam.dcs.model.enums;

import com.c6906.vdam.dcs.model.entity.DeviceDO;
import io.github.yezhihao.netmc.session.Session;

/**
 * @author com.6906
 * 
 */
public enum SessionKey {

    Device;

    public static DeviceDO getDevice(Session session) {
        return (DeviceDO) session.getAttribute(Device);
    }
}